import request from "@/utils/request";
// 查询移动积分
export function getYdUserScore(query) {
  return request({
    url: "/getYdUserScore",
    method: "get",
    params: query,
  });
}
export function getRedpacketList() {
  return request({
    url: "/redpacketList",
    method: "get",
  });
}
export function getRedpacketDetail(query) {
  return request({
    url: "/redpacketDetail",
    method: "get",
    params: query,
  });
}
export function sendYdSms(data) {
  return request({
    url: "/sendYdSms",
    method: "post",
    data: data,
    type: "form",
  });
}
export function createOrder(data) {
  return request({
    url: "/createYdOrder",
    method: "post",
    data: data,
    type: "form",
  });
}
export function payOrder(data) {
  return request({
    url: "/payYdOrder",
    method: "post",
    data: data,
    type: "form",
  });
}
